#include"Queue.h"


void QueueTest1()
{
	Queue Qu;
	QueueInit(&Qu);
	QueuePush(&Qu,1);
	QueuePush(&Qu,2);
	QueuePush(&Qu,3);
	QueuePush(&Qu,4);
	QueuePush(&Qu,5);
	if (!QueueEmpty(&Qu))
	{
		int size = QueueSize(&Qu);//5
		for (int i = 0; i < size; i++)
		{
			printf("%d ", QueueFront(&Qu));
			QueuePop(&Qu);
		}
	}
	printf("%d ", QueueBack(&Qu));
}


int main()
{
	QueueTest1();
	return 0;
}
